package cn.wolfcode.service;

import cn.wolfcode.domain.Role;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleService {


    List<Role> selectAll();

    void updateByPrimaryKey(Role role);

    void insert(Role role);

//    分页
    PageInfo<Role> que(QueryObject queryObject);

    Role selectByPrimaryKey(Long id);


    void insertById(Long id, Long id1);


    void deleteByPrimaryKey(Long id);

    void deleteByRoleid(Long id);

    List selectByEmid(Long id);
}
